home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / system / srouted-.000 / srouted- / srouted-0.1pl1 / defs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-17  |  572 b   |  42 lines

  1. /* defs.h -- definitions required everywhere */
  2.  
  3. /*
  4.  *    $Id: defs.h,v 1.2 1995/02/16 03:46:45 buhr Exp $
  5.  */
  6.  
  7. #ifndef INC_DEFS_H
  8. #define INC_DEFS_H
  9.  
  10. #include "error.h"
  11. #include "timer.h"
  12.  
  13. #include <errno.h>
  14.  
  15. #ifndef DEFEXTS
  16. #define EXTERN extern
  17. #else
  18. #define EXTERN
  19. #endif DEFEXTS
  20.  
  21. #define PAGESIZE 4096
  22. EXTERN char page[PAGESIZE];
  23. EXTERN unsigned short g_routedport
  24. #ifdef DEFEXTS
  25. = 520
  26. #endif
  27. ;
  28. EXTERN int g_rs;  /* route socket */
  29. EXTERN int g_tracelevel
  30. #ifdef DEFEXTS
  31. = 1
  32. #endif
  33. ;
  34. EXTERN int g_tracenlevel
  35. #ifdef DEFEXTS
  36. = 0
  37. #endif
  38. ;
  39. #undef EXTERN
  40.  
  41. #endif INC_DEFS_H
  42.